<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/_linkPages/basePath.jsp" %>
<!DOCTYPE html>
<%--首页--%>
<!-- saved from url=(0027)http://www.maomijiaoyi.com/ -->
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>首页</title>

    <!-- <link rel="stylesheet" href="application/views/TPL_SIMPLE/css/index.css"> -->
    <link rel="stylesheet" href="${basePath}jsp/hs/css/comment.css">
    <script src="${basePath}jsp/hs/js/hm.js"></script>
    <script src="${basePath}jsp/hs/js/hm.js(1)"></script>
    <script src="${basePath}jsp/hs/js/push.js"></script>
    <script src="${basePath}jsp/hs/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>

    <!-- 轮播图css -->
    <link rel="stylesheet" type="text/css" href="${basePath}jsp/hs/css/swiper.min.css">

    <link rel="stylesheet" type="text/css" href="${basePath}jsp/hs/css/index_20181107.css">
    <!-- 轮播图js -->
    <script src="${basePath}jsp/hs/js/swiper.min.js"></script>
    <script src="${basePath}jsp/hs/js/comment.js" type="text/javascript" charset="utf-8"></script>
    <style id="tsbrowser_video_independent_player_style" type="text/css">
        [tsbrowser_force_max_size] {
            width: 100% !important;
            height: 100% !important;
            left: 0px !important;
            top: 0px !important;
            margin: 0px !important;
            padding: 0px !important;
            transform: none !important;
        }

        [tsbrowser_force_fixed] {
            position: fixed !important;
            z-index: 9999 !important;
            background: black !important;
        }

        [tsbrowser_force_hidden] {
            opacity: 0 !important;
            z-index: 0 !important;
        }

        [tsbrowser_hide_scrollbar] {
            overflow: hidden !important;
        }

        [tsbrowser_display_none] {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
        }

        [tsbrowser_force_show] {
            /*display: black !important;*/
            visibility: visible !important;
            opacity: 0;
        }</style>
</head>
<body>

<!-- 网页头部 -->
<%@ include file="cat/head.jsp"%>


<!-- 是否开启缩略 -->
<div id="content">

    <!-- Swiper -->
    <div id="index_tab_tu">

        <div class="swiper-container swiper-container-horizontal">
            <div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);">
                <a href="http://localhost:8080/jsp/hs/index.jsp">
                    <img class="swiper-slide" src="${basePath}jsp/hs/img/index_tab_tu1.jpg" alt="猫咪交易网">
                </a>
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination swiper-pagination-clickable swiper-pagination-bullets swiper-pagination-bullets-dynamic"></div>
            <!-- Add Arrows -->
            <div class="swiper-button-next" tabindex="0" role="button" aria-label="Next slide"></div>
            <div class="swiper-button-prev" tabindex="0" role="button" aria-label="Previous slide"></div>
            <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span></div>
    </div>

    <!-- 热门推荐 -->
    <div class="renmen_tuijian">
        <div class="center_1220" style="width: 1220px">
            <div class="name">
                热门猫咪
            </div>
            <div class="english_name">
                <span class="line">——</span>
                FAVORITE PET CAT
                <span class="line">——</span>
            </div>
            <div class="renmen_content" style="width: 1220px">

                <div class="renmen_tu">


                    <c:forEach var="i" begin="1" end="8" step="1">

                        <a target="_blank" href="${basePath}varieties?method=details&varieties=${sessionScope.varieties.get(i-1).varieties}">
                            <div class="img_kuang">

                                <img src="${basePath}varieties?method=showPic&pic=${sessionScope.varieties.get(i-1).pic2}">
                            </div>
                            <div class="heimu">
                                <div class="breeds_name">${sessionScope.varieties.get(i-1).varieties}</div>
                                <div class="breeds_price">${sessionScope.varieties.get(i-1).price}元</div>
                            </div>
                        </a>
                    </c:forEach>
                    <div class="zixun_more">
                        <a class="zixun_more" target="_blank" href="${basePath}varieties?method=toIndex">查看更多 &gt;&gt;</a>
                    </div>

                </div>

            </div>
        </div>

        <!-- 品种楼层-->
        <div id="buou_cat" class="breeds_floor">
            <div class="center_1220" style="width: 1220px">
                <div class="title">
                    <div class="tltle_left">
                        <div class="left">
                            <div class="text">1F</div>
                            <div class="fang"></div>
                        </div>
                        <div class="right">
                            <a target="_blank" href="${basePath}varieties?method=price&catbreed=布偶猫">布偶猫</a>
                            <span style="float: right;margin-right: 5px;">》</span>
                        </div>
                    </div>
                </div>
                <div class="content">
                    <c:forEach var="i" begin="1" end="8" step="1">
                            <a target="_blank" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts1.get(i-1).id}">
                                <div class="img">

                                    <img src="${basePath}varieties?method=showPic&pic=${sessionScope.catPosts1.get(i-1).pic1}">
                                </div>
                                <div class="cat_name">
                                        ${sessionScope.catPosts1.get(i-1).posttitle}
                                </div>
                                <div class="price_area">
                                    <div class="price">
                                        <span class="font_weight800 color_333">价格:</span>
                                        <span class="color_red font_weight800">${sessionScope.catPosts1.get(i-1).catpice}元/只</span>
                                    </div>
                                </div>
                                <div class="shangjia_vip">
                                    <div class="shangjia">
                                        <span class="shangjia_name">${sessionScope.catPosts1.get(i-1).username}</span>
                                    </div>
                                </div>
                            </a>
                    </c:forEach>
                </div>
            </div>
        </div>


        <div id="jinjian_cat" class="breeds_floor">
            <div class="center_1220" style="width: 1220px">
                <div class="title">
                    <div class="tltle_left">
                        <div class="left">
                            <div class="text">2F</div>
                            <div class="fang"></div>
                        </div>
                        <div class="right">
                            <a target="_blank" href="${basePath}varieties?method=price&catbreed=苏格兰折耳猫">苏格兰折耳猫</a>
                            <span style="float: right;margin-right: 5px;">》</span>
                        </div>
                    </div>

                    <div class="clear"></div>
                </div>
                <div class="content">


                    <c:forEach var="i" begin="1" end="8" step="1">
                        <a target="_blank" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts3.get(i-1).id}">
                            <div class="img">

                                <img src="${basePath}varieties?method=showPic&pic=${sessionScope.catPosts3.get(i-1).pic1}">
                            </div>
                            <div class="cat_name">
                                    ${sessionScope.catPosts3.get(i-1).posttitle}
                            </div>
                            <div class="price_area">
                                <div class="price">
                                    <span class="font_weight800 color_333">价格:</span>
                                    <span class="color_red font_weight800">${sessionScope.catPosts3.get(i-1).catpice}元/只</span>
                                </div>
                            </div>
                            <div class="shangjia_vip">
                                <div class="shangjia">
                                    <span class="shangjia_name">${sessionScope.catPosts3.get(i-1).username}</span>
                                </div>
                            </div>
                        </a>
                    </c:forEach>

                </div>
            </div>
        </div>


        <div id="jiafei_cat" class="breeds_floor">
            <div class="center_1220" style="width: 1220px">
                <div class="title">
                    <div class="tltle_left">
                        <div class="left">
                            <div class="text">3F</div>
                            <div class="fang"></div>
                        </div>
                        <div class="right">
                            <a target="_blank" href="${basePath}varieties?method=price&catbreed=英国短毛猫">英国短毛猫</a>
                            <span style="float: right;margin-right: 5px;">》</span>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="content">


                    <c:forEach var="i" begin="1" end="8" step="1">
                        <a target="_blank" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts2.get(i-1).id}">
                            <div class="img">

                                <img src="${basePath}varieties?method=showPic&pic=${sessionScope.catPosts2.get(i-1).pic1}">
                            </div>
                            <div class="cat_name">
                                    ${sessionScope.catPosts2.get(i-1).posttitle}
                            </div>
                            <div class="price_area">
                                <div class="price">
                                    <span class="font_weight800 color_333">价格:</span>
                                    <span class="color_red font_weight800">${sessionScope.catPosts2.get(i-1).catpice}元/只</span>
                                </div>
                            </div>
                            <div class="shangjia_vip">
                                <div class="shangjia">
                                    <span class="shangjia_name">${sessionScope.catPosts2.get(i-1).username}</span>
                                </div>
                            </div>
                        </a>
                    </c:forEach>

                </div>
            </div>
        </div>


        <!-- 品种推荐 -->
        <div id="pinzhong_tuijian">
            <div class="center_1220" style="width: 1220px">
                <div class="name">
                    品种推荐
                </div>
                <div class="english_name">
                    <span class="line">——</span>
                    VARIETY IS RECOMMENDED
                    <span class="line">——</span>
                </div>
            </div>

            <div class="content" style="width: 1220px">

                <div>
                    <div class="pinzhong_name">
                        <!-- 左侧猫咪品种 -->
                        <a target="_blank" href="${basePath}varieties?method=price&catbreed=${sessionScope.catPosts4.get(1).catbreed}">${sessionScope.catPosts4.get(1).catbreed}</a>


                    </div>


                    <div class="pinzhong_content">
                        <!-- 一条内容 -->
                        <c:forEach var="i" begin="1" end="6" step="1">
                            <div>
                                <!-- 产品标题 -->
                                <a target="_blank" class="red_text" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts4.get(i-1).id}">
                                        ${sessionScope.catPosts4.get(i-1).posttitle} </a>
                                <!-- 产品价格 -->
                                <div class="pinzhong_price">
                                    ￥<span class="red_text">${sessionScope.catPosts4.get(i-1).catpice}</span>
                                </div>
                            </div>
                        </c:forEach>

                    </div>


                </div>

                <div>
                    <div class="pinzhong_name">
                        <!-- 左侧猫咪品种 -->
                        <a target="_blank" href="${basePath}varieties?method=price&catbreed=${sessionScope.catPosts5.get(1).catbreed}">${sessionScope.catPosts5.get(1).catbreed}</a>


                    </div>


                    <div class="pinzhong_content">
                        <!-- 一条内容 -->
                        <c:forEach var="i" begin="1" end="6" step="1">
                            <div>
                                <!-- 产品标题 -->
                                <a target="_blank" class="red_text" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts5.get(i-1).id}">
                                        ${sessionScope.catPosts5.get(i-1).posttitle} </a>
                                <!-- 产品价格 -->
                                <div class="pinzhong_price">
                                    ￥<span class="red_text">${sessionScope.catPosts5.get(i-1).catpice}</span>
                                </div>
                            </div>
                        </c:forEach>

                    </div>


                </div>

                <div>
                    <div class="pinzhong_name">
                        <!-- 左侧猫咪品种 -->
                        <a target="_blank" href="${basePath}varieties?method=price&catbreed=${sessionScope.catPosts6.get(1).catbreed}">${sessionScope.catPosts6.get(1).catbreed}</a>


                    </div>


                    <div class="pinzhong_content">
                        <!-- 一条内容 -->
                        <c:forEach var="i" begin="1" end="6" step="1">
                            <div>
                                <!-- 产品标题 -->
                                <a target="_blank" class="red_text" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts6.get(i-1).id}">
                                        ${sessionScope.catPosts6.get(i-1).posttitle} </a>
                                <!-- 产品价格 -->
                                <div class="pinzhong_price">
                                    ￥<span class="red_text">${sessionScope.catPosts6.get(i-1).catpice}</span>
                                </div>
                            </div>
                        </c:forEach>

                    </div>


                </div>

                <div>
                    <div class="pinzhong_name">
                        <!-- 左侧猫咪品种 -->
                        <a target="_blank" href="${basePath}varieties?method=price&catbreed=${sessionScope.catPosts7.get(1).catbreed}">${sessionScope.catPosts7.get(1).catbreed}</a>


                    </div>


                    <div class="pinzhong_content">
                        <!-- 一条内容 -->
                        <c:forEach var="i" begin="1" end="6" step="1">
                            <div>
                                <!-- 产品标题 -->
                                <a target="_blank" class="red_text" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts7.get(i-1).id}">
                                        ${sessionScope.catPosts7.get(i-1).posttitle} </a>
                                <!-- 产品价格 -->
                                <div class="pinzhong_price">
                                    ￥<span class="red_text">${sessionScope.catPosts7.get(i-1).catpice}</span>
                                </div>
                            </div>
                        </c:forEach>

                    </div>


                </div>

                <div>
                    <div class="pinzhong_name">
                        <!-- 左侧猫咪品种 -->
                        <a target="_blank" href="${basePath}varieties?method=price&catbreed=${sessionScope.catPosts2.get(1).catbreed}">${sessionScope.catPosts2.get(1).catbreed}</a>


                    </div>


                    <div class="pinzhong_content">
                        <!-- 一条内容 -->
                        <c:forEach var="i" begin="1" end="6" step="1">
                            <div>
                                <!-- 产品标题 -->
                                <a target="_blank" class="red_text" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts2.get(i-1).id}">
                                        ${sessionScope.catPosts2.get(i-1).posttitle} </a>
                                <!-- 产品价格 -->
                                <div class="pinzhong_price">
                                    ￥<span class="red_text">${sessionScope.catPosts2.get(i-1).catpice}</span>
                                </div>
                            </div>
                        </c:forEach>

                    </div>


                </div>

                <div>
                    <div class="pinzhong_name">
                        <!-- 左侧猫咪品种 -->
                        <a target="_blank" href="${basePath}varieties?method=price&catbreed=${sessionScope.catPosts1.get(1).catbreed}">${sessionScope.catPosts1.get(1).catbreed}</a>


                    </div>


                    <div class="pinzhong_content">
                        <!-- 一条内容 -->
                        <c:forEach var="i" begin="1" end="6" step="1">
                            <div>
                                <!-- 产品标题 -->
                                <a target="_blank" class="red_text" href="${basePath}catlogin?method=indexSell&id=${sessionScope.catPosts1.get(i-1).id}">
                                        ${sessionScope.catPosts1.get(i-1).posttitle} </a>
                                <!-- 产品价格 -->
                                <div class="pinzhong_price">
                                    ￥<span class="red_text">${sessionScope.catPosts1.get(i-1).catpice}</span>
                                </div>
                            </div>
                        </c:forEach>

                    </div>


                </div>

            </div>

        </div>

        <!-- 猫咪资讯 -->
        <div id="maomi_zixun">
            <div class="center_1220" style="width: 1220px">
                <div class="name">
                    猫咪资讯
                </div>
                <div class="english_name">
                    <span class="line">——</span>
                    THE CAT INFORMATION
                    <span class="line">——</span>
                </div>

                <div class="content">

                    <c:forEach var="i" begin="1" end="6" step="1" >
                    <div class="item">
                        <div class="zixun_left">
                            <!-- 匹配内容中的图片 -->
                            <a target="_blank" href="http://localhost:8080/jsp/hs/choose.jsp"><img
                                    src="${basePath}varieties?method=showPic&pic=${sessionScope.knowledge.get(i-1).pic}"></a>
                        </div>
                        <div class="zixun_right">
                            <div class="zixun_name">
                                    ${sessionScope.knowledge.get(i-1).title}
                            </div>
                            <div class="zixun_content">
                                    ${sessionScope.knowledge.get(i-1).content}
                            </div>
                            <div class="item_more">
                                <a target="_blank" href="http://localhost:8080/jsp/hs/choose.jsp">阅读更多→</a>
                            </div>
                        </div>
                    </div>
                    </c:forEach>
                    <div class="zixun_more">
                        <div class="zixun_more_1"></div>
                        <div class="zixun_more_2"></div>
                        <div class="zixun_more_3"></div>
                        <div class="zixun_more_4"></div>
                        <a class="zixun_more" target="_blank" href="http://localhost:8080/jsp/hs/choose.jsp">更多资讯 &gt;&gt;</a>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <br/><br/><br/><br/><br/><br/>

    <!-- 引入公共尾部 -->
    <!-- 网页底部 -->
    <div id="footer">

        <div class="logo">
            <div class="logo_kuang">
                <div>
                    <a href="http://localhost:8080/jsp/hs/index.jsp">
                        <img alt="猫咪交易网" title="猫咪交易网" src="${basePath}jsp/hs/img/logo.png">
                    </a>
                </div>
            </div>
        </div>

        <div class="banquan">
            <div class="center_1220">
                版权所有：猫咪交易网 www.maomijiaoyi.com 友情链接互换:qq 3416807849
            </div>
        </div>

        <div class="banquan">
            <div class="center_1220">
                【免责声明：本站所有猫猫交易信息内容系用户自行发布，其真实性、合法性由发布人负责，本站不提供任何保证，亦不承担任何法律责任！】
            </div>
        </div>

        <div class="banquan">
            <div class="center_1220">
                <a style="color: #FFF;" href="#" target="_blank">
                    <img src="${basePath}jsp/hs/img/foot_link3.png">
                    沪ICP备18022709号-1 </a>
            </div>
        </div>

    </div>

    <!--统计推送代码 -->
    <script>
        (function () {
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https') {
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            } else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(bp, s);
        })();
    </script>

    <script>(function () {
        var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?c77a1c2ce76e8fad2e35fc30bc445860" : "https://jspassport.ssl.qhimg.com/11.0.1.js?c77a1c2ce76e8fad2e35fc30bc445860";
        document.write('<script src="' + src + '" id="sozz"><' + '/script>');
    })();
    </script>
    <script src="${basePath}jsp/hs/img/11.0.1.js" id="sozz"></script>
    <script charset="utf-8" src="${basePath}jsp/hs/img/ab77b6ea7f3fbf79.js"></script>

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?23fbce55531257651dbfcbae5485642b";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");
    document.write(unescape("%3Cspan id='cnzz_stat_icon_1277225427'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s5.cnzz.com/z_stat.php%3Fid%3D1277225427%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script>
    <span id="cnzz_stat_icon_1277225427"><a href="https://www.cnzz.com/stat/website.php?web_id=1277225427"
                                            target="_blank" title="站长统计"><img border="0" hspace="0" vspace="0"
                                                                              src="${basePath}jsp/hs/img/pic1.gif"></a></span>
    <script src="${basePath}jsp/hs/img/z_stat.php" type="text/javascript"></script>
    <script src="${basePath}jsp/hs/img/core.php" charset="utf-8" type="text/javascript"></script>

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?994b09cad3c737b3ac2cf94ec2019284";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>


    <script type="text/javascript">
        // 轮播图
        var swiper = new Swiper('#index_tab_tu .swiper-container', {
            pagination: {
                el: '#index_tab_tu .swiper-pagination',
                dynamicBullets: true,
                clickable: true
            },
            // autoplay: true,
            loop: true,
            keyboard: {
                enabled: true,
            },
            navigation: {
                nextEl: '#index_tab_tu .swiper-button-next',
                prevEl: '#index_tab_tu .swiper-button-prev',
            }
        });

    </script>

</div>
</body>
</html>